a = [1,2,3,4,5,6,7]
print(a[:5:2])
print(a[::-1])
print(a[-7:-5:])
print(a[-1:-8:-2])

